package com.sky.service;

import com.sky.entity.AddressBook;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.result.Result;

/**
* @author MrWang
* @description 针对表【address_book(地址簿)】的数据库操作Service
* @createDate 2023-10-25 20:54:12
*/
public interface AddressBookService extends IService<AddressBook> {

    Result addressBookList();

    Result saveAddressBook(AddressBook addressBook);

    Result deleteAddressBookById(String id);

    Result getAddressBookById(String id);

    Result updateAddressBookById(AddressBook addressBook);

    Result setDefaultAddressBook(AddressBook addressBook);

    Result getDefaultAddressBook();
}
